import Skeleton from './Skeleton'
import Slider from './Slider'
import More from './More'
import Bread from './Bread'
import BreadItem from './Bread/Item.vue'
import InfiLoad from './InfiniteLoad'
import City from './City/City.vue'
import Numbox from './Numbox.vue'
import Button from './Button.vue'
import CheckBox from './CheckBox'
import Message from './Message/message.vue'
import Dialog from './Dialog'

export default {
  install (app) {
    app.component('XtxSlider', Slider) // 也可以跟vue2定义字符串时一样的
    app.component(Skeleton.name, Skeleton) // 可以时组件的name值
    app.component(More.name, More)
    app.component(Bread.name, Bread)
    app.component(BreadItem.name, BreadItem)
    app.component(InfiLoad.name, InfiLoad)
    app.component(City.name, City)
    app.component(Numbox.name, Numbox)
    app.component(Button.name, Button)
    app.component(CheckBox.name, CheckBox)
    app.component(Message.name, Message)
    app.component(Dialog.name, Dialog)
  }
}
